export const moveDP = (number, length) => {
  return number / Math.pow(10, length);
};

export const moveDPForward = (number, length) => {
  const len = String(number).split(".")[0].length;
  return moveDP(number, len - length);
};

export const fillFrame = (num1, num2, percentage) => {
  return num1 + (num2 - num1) * percentage;
};
